package com.qf.first.exceptions;

import lombok.Data;

/**
 * 自定义异常父类
 */
@Data
public class BaseException extends RuntimeException{
    private int errorCode;

    public BaseException() {
    }

    public BaseException(int errorCode,String msg) {
        super(msg);
        this.errorCode = errorCode;
    }

}
